<?php

class Application_Form_Category extends Zend_Form
{        
    public function init() 
    {
       // $translate = new My_Action_Helper_Lang();
        
        $this->setName('category');
	$name = new Zend_Form_Element_Text('name');
      //  $username->setLabel($translate->_('Email'))
	$name->setLabel('name')
                 ->setRequired(true)	            
                 ->addValidator('NotEmpty');
	      
	
	         
	$submit = new Zend_Form_Element_Submit('submit');
//	$submit->setLabel($translate->_('Login'));
        $submit->setLabel(' Add category');
	         
        $this->addElements(array($name, $submit));	         
	$this->setMethod('post');
    }


}

